package com.erlang4j.api.exceptions;

import com.erlang4j.internal.exceptions.Erlang4jException;
import com.erlang4j.internal.exceptions.Erlang4jExceptionConstants;

/**
 * <p>
 * this occurs when you are trying to turn a java object into an OtpErlangObject using Erlang4JMessageLanguage.binding,
 * or .make. The object that you have passed is one that Erlang4J doesnt know how to turn into an OtpErlangObject
 * </p>
 * 
 * @author Phil Rice
 */
public class Erlang4jUnexpectedParameterExpection extends Erlang4jException {

	public Erlang4jUnexpectedParameterExpection(int i, Object parameter) {
		super(Erlang4jExceptionConstants.unexpectedParameterExceptionKey, i, parameter);
	}

}
